package com.ruoyi.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 定子查询对象 iron_core
 * 
 * @author ruoyi
 * @date 2025-03-19
 */
public class IronCore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 编号（字符串类型） */
    @Excel(name = "编号", readConverterExp = "字=符串类型")
    private String code;

    /** 分类 */
    @Excel(name = "分类")
    private String category;

    /** 型号 */
    @Excel(name = "型号")
    private String model;
    
    /** 图片路径 */
    private String image;

    /** 铁芯内径 */
    @Excel(name = "铁芯内径")
    private BigDecimal innerDiameter;

    /** 铁芯外径 */
    @Excel(name = "铁芯外径")
    private BigDecimal outerDiameter;

    /** 铁芯高度 */
    @Excel(name = "铁芯高度")
    private BigDecimal height;



    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;


    private String state;

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }

    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }

    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    
    public String getImage()
    {
        return image;
    }

    public void setImage(String image)
    {
        this.image = image;
    }

    public void setInnerDiameter(BigDecimal innerDiameter) 
    {
        this.innerDiameter = innerDiameter;
    }

    public BigDecimal getInnerDiameter() 
    {
        return innerDiameter;
    }

    public void setOuterDiameter(BigDecimal outerDiameter) 
    {
        this.outerDiameter = outerDiameter;
    }

    public BigDecimal getOuterDiameter() 
    {
        return outerDiameter;
    }

    public void setHeight(BigDecimal height) 
    {
        this.height = height;
    }

    public BigDecimal getHeight() 
    {
        return height;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("category", getCategory())
            .append("model", getModel())
            .append("image", getImage())
            .append("innerDiameter", getInnerDiameter())
            .append("outerDiameter", getOuterDiameter())
            .append("height", getHeight())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
